package com.base.myproject.client.ui;

import com.extjs.gxt.ui.client.widget.ProgressBar;

public class BaseProgressBar extends ProgressBar {
	
	static BaseProgressBar baseprogressbar = null;
	int min=0;
	int max=100;
	public int getMin() {
		return min;
	}
	public void setMin(int min) {
		this.min = min;
	}
	public int getMax() {
		return max;
	}
	public void setMax(int max) {
		this.max = max;
	}

	private BaseProgressBar()
	{
		this.setMax(max);
		this.setMin(min);
	}
	public static BaseProgressBar getinstance()
	{
		if(baseprogressbar==null)
		{
			baseprogressbar = new BaseProgressBar();
			
		}
		return baseprogressbar;
	}
	
	

}
